package com.ronz.sort;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;

/**
 * @Description TODO
 * @Author Ronz
 * @Date 2021/1/10 16:33
 * @Version 1.0
 */
public class CommonUtils {

    public static int[] getArr(){
        int[] arr= new int[200000];
        for (int i=0; i<200000; i++){
            arr[i] = new Random().nextInt(80000);
        }
        return arr;
    }

    public static void printTime(){
        Date date = new Date();
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println(dateFormat.format(date));
    }
}
